package io.renren.service;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import io.renren.entity.PersonDispatchEntity;
import io.renren.entity.SalaryBasicinfoEntity;
import io.renren.entity.ServiceSettlementDetailEntity;
import io.renren.entity.VO.PersonDispatchEntityVO;

import java.util.List;
import java.util.Map;

/**
 * 人员派遣表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-06-29 01:37:51
 */
public interface PersonDispatchService {
	
	PersonDispatchEntity queryObject(String id);
	
	List<PersonDispatchEntityVO> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(PersonDispatchEntity personDispatch);
	
	void update(PersonDispatchEntity personDispatch);
	
	void delete(String id);
	
	void deleteBatch(String[] ids);

	int confirm(JSONObject jsonObject);

	List<Map<String, Object>> queryListByIds(Integer[] ids);

	List<ServiceSettlementDetailEntity> statement(Map<String, Object> map);
	List<SalaryBasicinfoEntity> salary(Map<String, Object> map);

	void saveStatementDetail(JSONArray jsonArray);

	void saveSalary(JSONArray jsonArray);

	Map<String, Object> getListInfo(String[] types);

	Map<String, Object> getSysOffice();

}
